package com.sumainfor.wx.tenant.controller.rentadviser;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.wx.tenant.feign.Zfeign.ZpcMktFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.io.Serializable;
import java.util.Map;

/**
 * 业主合同
 */
@RestController
@RequestMapping("/rentadviser/RdOwner")
public class RdWxOwnerController implements Serializable {
    @Autowired
    private ZpcMktFeign zpcMktFeign;
    /**
     * 根据房源编号查询活动优惠之后的价格
     */
    @GetMapping("/getTimeCountOwner")
    public JsonResult getTimeCountOwner(@RequestParam Map<String,Object> params){
        return zpcMktFeign.getTimeCountOwner(params);
    }
}
